#include <stdint.h>
#include "samples.h"

#define P_SIZE 18
#define S_SIZE 256

void blowfish(uint64_t* x, uint32_t* P, uint32_t* S1, uint32_t* S2, uint32_t* S3, uint32_t* S4);
void gen_subkeys(uint32_t* P, uint32_t* S1, uint32_t* S2, uint32_t* S3, uint32_t* S4, uint32_t* key, int key_size);
void blowfish_dec(uint64_t* x);
inline uint32_t F(uint32_t X, uint32_t* S1, uint32_t* S2, uint32_t* S3, uint32_t* S4);
